//单据追溯、流程信息功能
export const traceAndProcessInfo = {
  methods: {
    handleTrace(type, batchNo, id) {//单据溯源
      this.$router.push({
        path: '/supplyChain/gylTraceability?type=' + type + '&batchNo=' + batchNo + '&id=' + id,
      })
    },
    handleProcessInfo(procInsId, businessId) {//流程信息
      console.log("handleProcessInfo", procInsId, businessId)
      this.$router.push({
        path: '/flowable/task/myProcess/detail/index',
        query: {
          procInsId: procInsId,
          businessId: businessId,
        }
      })
    },
  },
}
